package cn.bdqn.first;

/**
 * @Description TODO
 * @Date 2020/2/13 11:59
 * @Created by 张三三
 */
public class Student {
    private String name;

    private Pen pen;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Pen getPen() {
        return pen;
    }

    public void setPen(Pen pen) {
        this.pen = pen;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", pen=" + pen +
                '}';
    }
}
